$w: 10rem;
$c: blue;

// 头部
header {
    width: $w;
    height: 1.3333rem;
    display: flex;
    background: $c;
    justify-content: space-between;

    a {
        color: #fff;
        font-size: 0.5333rem;
        margin-top: 0.3rem;
        margin-left: 0.3rem;
    }

    h4 {
        font: 0.5333rem/1.3333rem "微软雅黑";
        color: #fff;
        font-weight: 800;
    }

    .appDown {
        width: 1.28rem;
        img {
            width: 0.9067rem;
            margin: 0.2rem 0;
        }
    }
}

// 主体
#product {
    width: $w;
    .info {
        width: $w;
        h4 {
            font: 0.5333rem/.5867rem "微软雅黑";
            color: #333;
            margin: 0.5rem 0.2rem;
        }
        div {
            &:nth-of-type(1) {
                margin-bottom: 0.2rem;
                span,
                i {
                    margin: 0.2rem 0.5rem;
                    color: #999;
                    font-size: 0.4267rem;
                }
                i {
                    font-style: normal;
                    margin-left: 0.2rem;
                }
            }

            &:nth-of-type(2) {
                width: 8.7733rem;
                height: 8.9104rem;
                p {
                    display: block;
                    margin: 0 0 0.2667rem 0.5rem;
                    img {
                        width: 5.3333rem;
                        height: 5.3333rem;
                        float: right;
                    }
                    font: 0.4267rem/.7rem "";
                    color: #333;
                }
            }
            &:nth-of-type(3) {
                img {
                    width: 9.3333rem;
                    height: 9.3333rem;
                    margin-left: 0.5rem;
                }
            }
            &:nth-of-type(4) {
                border-bottom: 1px solid #cecece;
                ul {
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                    li {
                        width: 4.32rem;
                        border: 1px solid #cecece;
                        height: 1.1957rem;
                        text-align: center;
                        span {
                            font: 0.4267rem/1.1957rem "微软雅黑";
                            color: #000;
                            strong {
                                margin-left: 0.3rem;
                                color: red;
                            }
                        }
                    }
                }
            }
        }
    }
}

.buy {
    text-align: center;
    a {
        height: 0.9067rem;
        display: inline-block;
        background: $c;
        width: 8rem;
        color: #fff;
        border-radius: 0.17rem;
        margin: 0.2rem 0;
        font: 0.4267rem/.9067rem "微软雅黑";
    }
}

.twoCode {
    text-align: center;
    img {
        width: 8.9667rem;
        padding: 10px;
        // margin-left: .2rem;
    }
}

.submit {
    // text-align: center;
    textarea {
        width: 8.88rem;
        height: 2.08rem;
        padding: 0.2667rem;
        border: 1px solid #cecece;
        margin-left: .3rem;
    }
    .tit{
        &:nth-of-type(1){
            display: none;
        }
    }
    #newcomment{
        margin-top: .2rem;
        margin-left: .3rem;
    }
    

    .ctrl {
        margin-left: .3rem;
        margin-top: .1rem;
        width: 9.4667rem;
        height: 1.4667rem;
        background: #f4f4f4;
        input{
            background: $c;
            width: 3.2rem;
            height: 1.4667rem;
            float: right;
            color: #fff;
            font: .3467rem/1.4667rem "微软雅黑";
        }
    }
    .list{
        margin-top: .5rem;
    }
}

// 尾部
.footer {
    width: $w;
    background: #f4f4f4;
    height: 5.9768rem;
    div {
        width: $w;
        background: #f4f4f4;
        &:nth-of-type(1) {
            // padding: .2667rem;
            text-align: center;
            padding-top: 0.3rem;
            a {
                display: block;
                color: #333;
                font: 0.3467rem/.8533rem "微软雅黑";
                border: 0.0267rem solid #cecece;
                border-radius: 0.2rem;

                margin: 0 0.1rem;
            }
        }
        &:nth-of-type(2) {
            background: $c;
            margin: 0.2667rem 0 0.16rem 0;
            height: 0.9333rem;
            display: flex;
            justify-content: space-between;
            span {
                color: #fff;
                font: 0.48rem/.9333rem "";
                margin-left: 0.2rem;
            }
            a {
                padding: 0 0.2667rem 0 0;
                img {
                    width: 0.5333rem;
                    float: right;
                    margin: 0.2rem 0;
                }
            }
        }
        &:nth-of-type(3) {
            // width: $w;
            border: 0.0267rem solid #cecece;
            border-left: none;
            border-right: none;
            // display: flex;
            // padding: 0 .4rem;
            margin-top: 0.5rem;

            a {
                text-align: center;
                display: block;
                color: #333;
                height: 0.88rem;
                display: inline-block;
                border-right: 0.0267rem solid #cecece;
                font: 0.3733rem/.88rem "";
                &:nth-of-type(1) {
                    width: 1.6733rem;
                    padding: 0 0.5333rem;
                }
                &:nth-of-type(2) {
                    width: 2.9333rem;
                }
                &:nth-of-type(3) {
                    width: 3.34rem;
                    border-right: none;
                }
            }
        }
        &:nth-of-type(4) {
            text-align: center;
            p {
                margin: 0.3rem 0;
                a {
                    font-size: 0.3467rem;
                    color: #333;
                }
            }
        }
    }
}
